package cn.mill.demo.postcode;

import java.io.Serializable;

import cn.mill.common.annotation.Property;

public class PostCode implements Serializable {
	
	private static final long serialVersionUID = 3834974557545578828L;
	
	@Property("name")
	private String name;
	@Property("postcode")
	private String code;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	@Override
	public String toString() {
		return "PostCode [name=" + name + ", code=" + code + "]";
	}
}
